package android.slc.base.ui.widget.tree;

import javafx.scene.Node;
import javafx.scene.control.TreeItem;

public class ObjTreeItem<T> extends TreeItem<String>{
    private T obj;

    public ObjTreeItem(T obj) {
        this.obj = obj;
    }

    public ObjTreeItem(String value, T obj) {
        super(value);
        this.obj = obj;
    }

    public ObjTreeItem(String value, Node graphic, T obj) {
        super(value, graphic);
        this.obj = obj;
    }

    public T getObj() {
        return obj;
    }
}
